﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PalmAddressExtractor
{
	public class SchemaInfo
	{
		#region Fields

		private IList<uint> _fieldEntries;

		#endregion

		#region Properties

		public uint ResourceId { get; set; }
		public uint FieldsPerRow { get; set; }
		public uint RecordIdPosition { get; set; }
		public uint RecordStatusPosition { get; set; }
		public uint PlacementPosition { get; set; }
		public uint FieldCount { get; set; }
		public uint RecordCount { get; set; }

		public IList<uint> FieldEntries
		{
			get { return _fieldEntries ?? (_fieldEntries = new List<uint>()); }
			set { _fieldEntries = value; }
		}

		#endregion
	}
}
